
<br />
<table>
	<tr align="center">
		<th>序号</th>
		<th>流水号</th>
		<th>名称+规格</th>

		<th>单位</th>
		<th>数量</th>		
		<th>单价</th>
		
		<th>小计</th>
		<th>税率</th>
		<th>产品</td>

		<th>备注</th>
		<th>状态</th>	
	</tr>
	{[foreach name=outer key=key item=item from=$record_in]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[assign var="total" value="`$item.amount*$item.price`"]} 
	{[assign var="totals" value="`$totals+$total`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.name|truncate:30:"...":true]}({[$item.standard|truncate:21:"...":true]})</td>

		<td>{[$item.unit]}</td>
		<td>{[$item.amount|string_float]}</td>		
		<td>{[$item.price|string_price]}</td>
		<td>{[$total|money]}</td>
		<td>{[$item.tax|string_float]}</td>
		<td>{[$item.mold_t]}</td>

		<td>{[$item.content|truncate:30]}</td>
		<td>{[$item.status_t]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="6"></td>
		<td>{[$totals|money]}</td>
		<td colspan="4"></td>
	</tr>
</table>
